package com.kzw.oa.service.info;


import java.util.List;

import com.kzw.core.service.BaseService;
import com.kzw.core.web.paging.PagingBean;
import com.kzw.oa.model.info.News;

public interface NewsService extends BaseService<News>{
	public List<News> findByTypeId(Long typeId,PagingBean pb);

	public List<News> findBySearch(Integer i,String searchContent,PagingBean pb);
	/**
	 * 查找图片新闻
	 * @param pb
	 * @return
	 */
	public List<News> findImageNews(Long sectionId,PagingBean pb);
	
	/**
	 * 查找一般栏目图片新闻
	 * @param pb
	 * @return
	 */
	public List<News> findImageCommonNews(Long sectionId,PagingBean pb);
}
